package ribbon.service.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author eleanor
 * @description
 * @date 2020/5/18 下午5:07
 */
@FeignClient("cip")
public interface CipService {

    @GetMapping("/{ip}")
    String test(@PathVariable("ip") String ip);
}
